<?php

class Pendidikan extends \Eloquent {

	public function penduduks(){
		return $this->hasMany('Pendidikan');
	}

	// Add your validation rules here
	public static $rules = [
		'nama' => 'required'
	];

	// Don't forget to fill this array
	protected $fillable = [
		"nama",
		"keterangan",
		"is_active",
		"user_id",
		"ref_id",
		"action"
	];

}